package cn.com.jinhao.provider.business.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * ST$ATCH
 *
 * @author
 */

@ToString
@Data
@Table(name = "ST$ATCH")
public class Attach extends Base implements Serializable {

    /**
     * 附件
     */
    @Column(name = "atch")
    private String attachment;

    /**
     * 宿主编号
     */
    @Column(name = "htcd")
    private String hostCode;

    /**
     * 保存路径
     */
    @Column(name="fdir")
    private String saveDir;

    /**
     * 新文件名
     */
    @Column(name = "nfnm")
    private String newFileName;

    /**
     * 旧文件名
     */
    @Column(name = "ofnm")
    private String oldFileName;

    /**
     * 后缀名
     */
    @Column(name = "fsuf")
    private String suffixName;

    /**
     * 文件大小
     */
    @Column(name = "fsiz")
    private Long fileSize;

    /**
     * 附件类型
     */
    @Column(name = "ftyp")
    private String fileType;

    /**
     * MD5码
     */
    @Column(name = "fmd5")
    private String fileMd5;

    /**
     * 上传IP
     */
    @Column(name = "upip")
    private String upIpAddress;

    /**
     * 上传时间
     */
    @Column(name = "uptm")
    private String upTime;

    /**
     * 上传部门编码
     */
    @Column(name = "stDeptCode")
    private String upDeptCode;

    /**
     * 上传部门
     */
    @Column(name = "stDeptDept")
    private String upDept;

    /**
     * 上传人员编码
     */
    @Column(name = "stOperCode")
    private String upOperatorCode;

    /**
     * 上传人员
     */
    @Column(name = "stOperOper")
    private String upOperator;


    private static final long serialVersionUID = 1L;
}